<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Detail Trust District</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<style>
.top {
	border: 0px solid #ccc;
	overflow: hidden;
	padding: 0;
	margin: 0;
	padding-bottom: 2px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.top-left {
	border: 0px solid #ccc;
	font: bold 14px Arial, Verdana, Helvetica, sans-serif;
	float: left;
	padding: 5px 0;
}

.top-right {
	border: 0px solid #ccc;
	float: right;
	text-align: right;
}

.details1 {
	overflow: hidden;
}

.content-left {
	float: left;
	padding-right: 20px;
	border: 0px solid #ccc;
}

.content-right {
	float: right;
	border: 0px solid #ccc;
}

.frm .field {
	display: table;
	margin: 5px;
}

.frm div label {
	width: 150px;
	word-wrap: break-word;
	display: table-cell;
	vertical-align: middle;
	position: static;
}

.frm textarea {
	width: 260px;
	height: 80px;
}

.lstcbb {
	width: 260px;
	height: 95px;
	overflow-y: auto;
	border: 1px solid #ccc;
	background-color: #fff;
	display: auto;
}
</style>

</head>
<body>
<%
		if (session.getAttribute("username") == null)
			response.sendRedirect("login.jsp");
	%>
	<%@include file="header.jsp"%>
	<div id="content">
		<div id="mainContainer">
			<div class="box">
				<div id="container-orglst">
					<div id="tabContaier">

						<ul class="tabs" style="width: 100%">

							<li><a href="#tab1">Details</a></li>
							<div class="top-right include"
								style="width: 400px; float: right; display: inline; margin-right: 5px; margin-bottom: 10px; padding: 0">
								<input type="button" value="In-Active" /> <input type="button"
									value="Save" />
									<s:url action="ShowTrustRegion" var="urlTag" />
								<s:a href="%{urlTag}">
									<input type="button" value="Back" />
								</s:a>
							</div>

						</ul>
						<div class="clear"></div>
						<div id="tab1" class="tabContents details1">
							<table width="100%" id="tableDetail2" align=center>
								<s:iterator value="TrusDis">
									<tr>
										<div class="field">
											<td><label for="org_name">Trust Region Name</label></td>
											<td><input type="text" name="nameTR" value="<s:property value="nameTR"/>"></input>
											</td>
										</div>
									</tr>
			
									<tr>
										<div class="field">
											<td><label for="org_name">Trust District Name</label></td>
											<td><input type="text" name="nameTD" value="<s:property value="nameTD"/>"></input></td>
										</div>
									</tr>
										
									<tr>
										<div class="field">
											<td><label for="org_desshort">Description</label></td>
											<td><textarea name="desTD" id="org_desshort" /><s:property value="desTD"/></textarea></td>
										</div>
									</tr>
									</s:iterator>
							</table>
						</div>
						<span class="pagelinks"> <a href="#"><img
								src="firstpage.PNG" title="First Page" alt="First Page" /> </a> <a
							href="#"><img src="prevpage.PNG" title="Prev Page"
								alt="Prev Page" /> </a> Page <input
							style="font-size: 12px; width: 35px; padding: 4px;"
							class="curpage" type="text" name="b" value="1" /> of <span
							class="nops">1</span> <a href="#"><img src="nextpage.PNG"
								title="Next Page" alt="Next Page" /> </a> <a href="#"><img
								src="lastpage.PNG" title="Last Page" alt="Last Page" /> </a> </span>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<%@include file="footer.jsp"%>
</body>
</html>